package auth

import (
	"iris-demo/core"
)

func init() {
	core.DB.AutoMigrate(
		&User{},
	)
	SetAuthRouters(core.Router, "/auth")
	SetUserRouters(core.Router, "/user")
}
